import { createPinia } from 'pinia'
import { createApp } from 'vue'
import './styles/index.scss'
import App from './App.vue'
import router from './router'
import Vant from 'vant'
import 'vant/lib/index.css'
import 'amfe-flexible'
import piniaPersist from 'pinia-plugin-persist'

const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPersist)
app.use(pinia).use(router).use(Vant)

// 执行渲染
app.mount('#app')